from __future__ import unicode_literals

from django.db import models

# Create your models here.

## from py2neo.ogm import GraphObject, Property, Related
from py2neo.ogm import *

class Server(GraphObject):
    __primarykey__ = 'ip'
    ip = Property()

class Project(GraphObject):
    name = Property()
    version = Property()
    port = Property()
    userRole = Property()
    
    running_on = RelatedTo("Server")
